const { Controller } = require("uni-cloud-router");
module.exports = class RecordController extends Controller {
	add(){
		const { ctx, service } = this;
		return this.service.record.add();
	}
	list(){
		const { ctx, service } = this;
		return this.service.record.list();
	}
	delete(){
		const { ctx, service } = this;
		return this.service.record.delete();
	}
};